package com.scott.unique;

public class SingleObject {
	private SingleObject() {
		
	}
	
	public static class InstanceSingleObject {
		public static SingleObject singleObject = new SingleObject();
	}
	
	public static SingleObject getInstance() {
		return InstanceSingleObject.singleObject;
	}
	
	public String getMessage() {
		return "Hello World!";
	}
}


